package com.nashuju.web.entity.sys;

import java.util.Collection;
import java.util.Date;

import org.durcframework.core.expression.annotation.LikeDoubleField;
import org.durcframework.core.expression.annotation.ValueField;
import org.durcframework.core.support.SearchEasyUI;
import org.durcframework.core.util.DateUtil;

public class SysUploadSch extends SearchEasyUI {

    private Integer idSch;
    private String picSch;

    public String getPicSch() {
        return picSch;
    }

    public void setPicSch(String picSch) {
        this.picSch = picSch;
    }

    private Collection<?> idListSch;

    public Collection<?> getIdListSch() {
        return idListSch;
    }

    public void setIdListSch(Collection<?> idListSch) {
        this.idListSch = idListSch;
    }

    private Date createdSch;
    private Date createdStartSch;
    private Date createdEndSch;

    @ValueField(column = "created", equal = ">=")
    public Date getCreatedStartSch() {
        return createdStartSch;
    }

    public void setCreatedStartSch(Date createdStartSch) {
        this.createdStartSch = createdStartSch;
    }

    @ValueField(column = "created", equal = "<")
    public Date getCreatedEndSch() {
        if (createdEndSch != null) {
            return DateUtil.getDateAfterDay(createdEndSch, 1);
        }
        return createdEndSch;
    }

    public void setCreatedEndSch(Date createdEndSch) {
        this.createdEndSch = createdEndSch;
    }

    private Date editedSch;
    private String clientnameSch;
    private String servernameSch;
    private String fileextSch;
    private Integer filesizeSch;
    private Integer filewidthSch;
    private Integer fileheightSch;
    private Integer zipidSch;
    private String moduleIdSch;
    private String funcIdSch;
    private String dataIdSch;
    private String filefullpathSch;
    private String procodeSch;
    private String profiletypeSch;

    public void setIdSch(Integer idSch) {
        this.idSch = idSch;
    }

    @ValueField(column = "id")
    public Integer getIdSch() {
        return this.idSch;
    }

    public void setCreatedSch(Date createdSch) {
        this.createdSch = createdSch;
    }

    @ValueField(column = "created")
    public Date getCreatedSch() {
        return this.createdSch;
    }

    public void setEditedSch(Date editedSch) {
        this.editedSch = editedSch;
    }

    @ValueField(column = "edited")
    public Date getEditedSch() {
        return this.editedSch;
    }

    public void setClientnameSch(String clientnameSch) {
        this.clientnameSch = clientnameSch;
    }

    @LikeDoubleField(column = "clientname")
    public String getClientnameSch() {
        return this.clientnameSch;
    }

    public void setServernameSch(String servernameSch) {
        this.servernameSch = servernameSch;
    }

    @ValueField(column = "servername")
    public String getServernameSch() {
        return this.servernameSch;
    }

    public void setFileextSch(String fileextSch) {
        this.fileextSch = fileextSch;
    }

    @ValueField(column = "fileext")
    public String getFileextSch() {
        return this.fileextSch;
    }

    public void setFilesizeSch(Integer filesizeSch) {
        this.filesizeSch = filesizeSch;
    }

    @ValueField(column = "filesize")
    public Integer getFilesizeSch() {
        return this.filesizeSch;
    }

    public void setFilewidthSch(Integer filewidthSch) {
        this.filewidthSch = filewidthSch;
    }

    @ValueField(column = "filewidth")
    public Integer getFilewidthSch() {
        return this.filewidthSch;
    }

    public void setFileheightSch(Integer fileheightSch) {
        this.fileheightSch = fileheightSch;
    }

    @ValueField(column = "fileheight")
    public Integer getFileheightSch() {
        return this.fileheightSch;
    }

    public void setZipidSch(Integer zipidSch) {
        this.zipidSch = zipidSch;
    }

    @ValueField(column = "zipid")
    public Integer getZipidSch() {
        return this.zipidSch;
    }

    public void setModuleIdSch(String moduleIdSch) {
        this.moduleIdSch = moduleIdSch;
    }

    @ValueField(column = "module_id")
    public String getModuleIdSch() {
        return this.moduleIdSch;
    }

    public void setFuncIdSch(String funcIdSch) {
        this.funcIdSch = funcIdSch;
    }

    @ValueField(column = "func_id")
    public String getFuncIdSch() {
        return this.funcIdSch;
    }

    public void setDataIdSch(String dataIdSch) {
        this.dataIdSch = dataIdSch;
    }

    @ValueField(column = "data_id")
    public String getDataIdSch() {
        return this.dataIdSch;
    }

    public void setFilefullpathSch(String filefullpathSch) {
        this.filefullpathSch = filefullpathSch;
    }

    @ValueField(column = "filefullpath")
    public String getFilefullpathSch() {
        return this.filefullpathSch;
    }

    public void setProcodeSch(String procodeSch) {
        this.procodeSch = procodeSch;
    }

    @ValueField(column = "procode")
    public String getProcodeSch() {
        return this.procodeSch;
    }

    public void setProfiletypeSch(String profiletypeSch) {
        this.profiletypeSch = profiletypeSch;
    }

    @ValueField(column = "profiletype")
    public String getProfiletypeSch() {
        return this.profiletypeSch;
    }


}
